<?php

/**
 * @author Nguyen Manh Kien
 * @copyright 2013
 */
?>

<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <!-- Load phan title-->
        <?php $this->load->view('commons/title_head');?>
    <!--Het phan title-->   	
        
        <?php $this->load->helper('url');?>
        
  	<!-- Css-->	
		<link href="<?php echo base_url();?>css/lms-application_bk.css" rel="stylesheet" type="text/css"/>
		<link href="<?php echo base_url();?>css/lms-course_bk.css" rel="stylesheet" type="text/css"/>
		<link href="<?php echo base_url();?>css/footer_bk.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo base_url();?>css/introduce_policy_ego.css" rel="stylesheet" type="text/css"/>
		
	<!-- JS -->	
		<script type="text/javascript" src="<?php echo base_url();?>js/lms-main_vendor.js" charset="utf-8"></script>	
	</head>
    
    
    
<body class="courseware None">
<!--Super Calculator-->
    <?php $this->load->view('course_view/super_calculator');?>
<!--end Super Calculator-->
<!-- Header -->
	<header class="global slim">
		<nav>
			<h1 class="logo">
				<a href="<?php echo base_url()."home_controller/index";?>">     
					<img src="<?php echo base_url();?>images/web_logos/header-logo.png" alt="Home">      
				</a>
			</h1>
			<h2><span class="provider">Trợ giúp</span></h2>
            <?php if (isset($user['USERNAME'])){?>
			<ol class="user">
				<li class="primary">
                   
					<a href="<?php echo base_url()."user_controller/view_user";?>" class="user-link">
						<span class="avatar"></span>
						<span class="sr">Dashboard for: </span> <?php echo $user['USERNAME'];?>
					</a>
				</li>
				<li class="primary">
					<a href="#" class="dropdown"><span class="sr">More options dropdown</span> ▾</a>
					<ul class="dropdown-menu">
					  
						<li><a href="#">Trợ giúp</a></li>
					  
					  <li><a href="<?php echo base_url()."user_controller/log_out"?>">Đăng xuất</a></li>
					</ul>
				</li>
			</ol>
            <?php } else {}?>
		</nav>
	</header>

	<section class="content-wrapper">

		
		<section class="introduce-container">
			<div class="introduce-wrapper">

			<!--Content-->
                <section class="introduce-slogan-wrapper-l">
                    Câu hỏi thường gặp        
                </section>
	<section class="introduce-content"> 
                    <?php
                        $i=0;
                        while (isset($helper['answer'][$i]))
                        {
                            ?>
                           <h5><?php echo $helper['question_number'][$i];?> . <?php echo $helper['question'][$i];?></h5>     
                           <p><?php echo $helper['answer'][$i];?></p>
                            <?php $i++;
                        }
                    ?>
	</section>
             
			<!-- End Content -->
			</div>
		</section>
	</section>
	<!--Footer-->
    <?php $this->load->view('commons/footer_all');?>

	<!--Jquery-->
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-application.js" charset="utf-8"></script>
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-modules.js" charset="utf-8"></script>
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-courseware.js" charset="utf-8"></script>
</body></html>